package com.mytecblog.framework.util;

import com.mytecblog.framework.entity.MetaObject;

import java.util.List;

/**
 * @author yg.huang
 * @version v1.0
 *          DATE  2016/10/28
 */
public class Pager<T extends  MetaObject> {
    private int totalCounts;
    private List<T> entityList;

    public void setTotalCounts(int totalCounts) {
        this.totalCounts = totalCounts;
    }

    public int getTotalCounts() {
        return totalCounts;
    }

    public  void setEntityList(List<T> entityList) {
        this.entityList = entityList;
    }

    public List<T> getEntityList() {
        return entityList;
    }


}
